package com.mao.adapterpattern.object;

public class ObjectAdapter implements WantTarget {

    NeedAdaptee needAdaptee;

    public ObjectAdapter(NeedAdaptee needAdaptee) {
        this.needAdaptee = needAdaptee;
    }


    @Override
    public void request() {
        needAdaptee.specialRequest();
    }
}
